package cn.edu.ssm.service;

import java.util.List;

import cn.edu.ssm.entity.Media;
import cn.edu.ssm.entity.Type;

public interface MediaService {

	public List<Media> getMediaList();
	
	public boolean delete(String mediaid);

	public Media findById(String mediaid);

	public int saveFile(Media media);

	public int uploadMedia(Media media);

	public int addmanager(Media media);

	public int updateTypeName(Type type);
}
